// project created on 28/07/2006 at 9:16 P

using System;
using System.IO;
using System.Collections;

using Normal.Lang;

namespace Normal
{
	class MainClass
	{
		public static void Main(string[] args)
		{
			using (StreamReader sr = new StreamReader("test.n"))
			{
				Scanner s = new Scanner(sr);
				ArrayList tokens = s.Scan();
				
				foreach (Token t in tokens)
				{
					Console.WriteLine(t.type + " " + t.line + "," + t.column + " : " + t.data);
				}				
			}
		}
	}
}